package com.epfly.promo.activity.impl;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Data
@RefreshScope
@Configuration
public class ActivityConfiguration {

    /**
     * 档口在某个活动日期范围内涉及的最大活动数量
     */
    @Value("${activity.scoreCount:10}")
    private int maxScoreCount = 10;
}
